package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;
import com.itheima.reggie.domain.OrderDetail;

public interface OrderService {
    // 用户下单
    void submit(Order order);

    //历史订单
    Page<Order> findOrderByPage(Integer pageName, Integer pageSize);

    //订单明细
    Page<Order> findByPage(Integer pageName, Integer pageSize,Long number,String beginTime,String endTime);
}
